package com.joel.crm.util;

public class UserHelp {
	
	public static void getHelpInfo() {
		System.out.println(
				 "******************************************************************************************************************************\n"
				+"This CRM user command to add,delete,alter or check the information of customer\n"
				+"the command help is below：\n"
				+"\n"
				+"A is the command to add information                    eg: A id:12,name:joel,phone:110 \n"
				+"\n"
				+"U is command to alter information                      eg: U id:1,name:Durken \n"
				+"\n"
				+"L is the command to check information                  eg: L id:1  OR  L id:12,name:joel,phone:110\n"
				+"\n"
				+"D is the command to delete by id                       eg: D id:1 \n"
				+"\n"
				+"O is the command to sort customers information by id   eg: O id\n"
				+"Q is the command to quit the system                    eg: Q\n"
				+"\n"
				+"you can also read the usage of functions by commnd H   eg: H A     mean to read the usage of command A\n"
				+"*******************************************************************************************************************************");
	}
	
	public static void getHelpHA() {
		System.out.println("A is the command to add information like A id:11,name:Paul,sex:male,birth:2000-1-6,address:China,phone:565656\n"
				+ "the information not input is null acquiescently");
	}
	
	public static void getHelpHQ() {
		System.out.println("Q is the command to quit the system");
	}
	
	public static void getHelpHL() {
		System.out.println("L is the command to check information, you can also check the message by id like:\"L id:1\"");
	}
	
	public static void getHelpHD() {
		System.out.println("D is the command to delete, you can input \"D id:1\"to delete the info of customer whose id is 1");
	}
	
	public static void getHelpHU() {
		System.out.println("U is command to alter information like input \"U id:1,name:Durken\"can change the name of customer whoes id is 1");
	}
	public static void getHelpHO() {
		System.out.println("U is command to sort information by id like input \"O id:1 \"");
	}
}
